

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip/opt.h" class="nav-sub-label">lwip/opt.h</a>
              </li>
      

              <li>
                <a href="#lwip/pbuf.h" class="nav-sub-label">lwip/pbuf.h</a>
              </li>
      

              <li>
                <a href="#lwip/netif.h" class="nav-sub-label">lwip/netif.h</a>
              </li>
      

              <li>
                <a href="#lwip/ip_addr.h" class="nav-sub-label">lwip/ip_addr.h</a>
              </li>
      

              <li>
                <a href="#lwip/ip.h" class="nav-sub-label">lwip/ip.h</a>
              </li>
      

              <li>
                <a href="#lwip/ip6_addr.h" class="nav-sub-label">lwip/ip6_addr.h</a>
              </li>
      

              <li>
                <a href="#lwip/prot/udp.h" class="nav-sub-label">lwip/prot/udp.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#LWIP_HDR_UDP_H" class="nav-sub-label">LWIP_HDR_UDP_H</a>
              </li>
      

              <li>
                <a href="#UDP_FLAGS_NOCHKSUM" class="nav-sub-label">UDP_FLAGS_NOCHKSUM</a>
              </li>
      

              <li>
                <a href="#UDP_FLAGS_UDPLITE" class="nav-sub-label">UDP_FLAGS_UDPLITE</a>
              </li>
      

              <li>
                <a href="#UDP_FLAGS_CONNECTED" class="nav-sub-label">UDP_FLAGS_CONNECTED</a>
              </li>
      

              <li>
                <a href="#UDP_FLAGS_MULTICAST_LOOP" class="nav-sub-label">UDP_FLAGS_MULTICAST_LOOP</a>
              </li>
      

              <li>
                <a href="#udp_flags(pcb)" class="nav-sub-label">udp_flags(pcb)</a>
              </li>
      

              <li>
                <a href="#udp_setflags(pcb, f)" class="nav-sub-label">udp_setflags(pcb, f)</a>
              </li>
      

              <li>
                <a href="#udp_set_flags(pcb, set_flags)" class="nav-sub-label">udp_set_flags(pcb, set_flags)</a>
              </li>
      

              <li>
                <a href="#udp_clear_flags(pcb, clr_flags)" class="nav-sub-label">udp_clear_flags(pcb, clr_flags)</a>
              </li>
      

              <li>
                <a href="#udp_is_flag_set(pcb, flag)" class="nav-sub-label">udp_is_flag_set(pcb, flag)</a>
              </li>
      

              <li>
                <a href="#udp_new_ip6()" class="nav-sub-label">udp_new_ip6()</a>
              </li>
      

              <li>
                <a href="#udp_set_multicast_netif_addr(pcb, ip4addr)" class="nav-sub-label">udp_set_multicast_netif_addr(pcb, ip4addr)</a>
              </li>
      

              <li>
                <a href="#udp_get_multicast_netif_addr(pcb)" class="nav-sub-label">udp_get_multicast_netif_addr(pcb)</a>
              </li>
      

              <li>
                <a href="#udp_set_multicast_netif_index(pcb, idx)" class="nav-sub-label">udp_set_multicast_netif_index(pcb, idx)</a>
              </li>
      

              <li>
                <a href="#udp_get_multicast_netif_index(pcb)" class="nav-sub-label">udp_get_multicast_netif_index(pcb)</a>
              </li>
      

              <li>
                <a href="#udp_set_multicast_ttl(pcb, value)" class="nav-sub-label">udp_set_multicast_ttl(pcb, value)</a>
              </li>
      

              <li>
                <a href="#udp_get_multicast_ttl(pcb)" class="nav-sub-label">udp_get_multicast_ttl(pcb)</a>
              </li>
      

              <li>
                <a href="#udp_debug_print" class="nav-sub-label">udp_debug_print</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#udp_bind_netif" class="nav-sub-label">udp_bind_netif</a>
              </li>
      

              <li>
                <a href="#udp_disconnect" class="nav-sub-label">udp_disconnect</a>
              </li>
      

              <li>
                <a href="#udp_sendto_if" class="nav-sub-label">udp_sendto_if</a>
              </li>
      

              <li>
                <a href="#udp_sendto_if_src" class="nav-sub-label">udp_sendto_if_src</a>
              </li>
      

              <li>
                <a href="#udp_sendto_if_chksum" class="nav-sub-label">udp_sendto_if_chksum</a>
              </li>
      

              <li>
                <a href="#udp_sendto_chksum" class="nav-sub-label">udp_sendto_chksum</a>
              </li>
      

              <li>
                <a href="#udp_send_chksum" class="nav-sub-label">udp_send_chksum</a>
              </li>
      

              <li>
                <a href="#udp_sendto_if_src_chksum" class="nav-sub-label">udp_sendto_if_src_chksum</a>
              </li>
      

              <li>
                <a href="#udp_debug_print" class="nav-sub-label">udp_debug_print</a>
              </li>
      

              <li>
                <a href="#udp_netif_ip_addr_changed" class="nav-sub-label">udp_netif_ip_addr_changed</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#udp_pcb" class="nav-sub-label">udp_pcb</a>
              </li>
      

              <li>
                <a href="#udp_pcb" class="nav-sub-label">udp_pcb</a>
              </li>
      

              <li>
                <a href="#udp_pcb" class="nav-sub-label">udp_pcb</a>
              </li>
      

              <li>
                <a href="#udp_remove" class="nav-sub-label">udp_remove</a>
              </li>
      

              <li>
                <a href="#udp_bind" class="nav-sub-label">udp_bind</a>
              </li>
      

              <li>
                <a href="#udp_connect" class="nav-sub-label">udp_connect</a>
              </li>
      

              <li>
                <a href="#udp_recv" class="nav-sub-label">udp_recv</a>
              </li>
      

              <li>
                <a href="#udp_sendto" class="nav-sub-label">udp_sendto</a>
              </li>
      

              <li>
                <a href="#udp_send" class="nav-sub-label">udp_send</a>
              </li>
      

              <li>
                <a href="#udp_input" class="nav-sub-label">udp_input</a>
              </li>
      

              <li>
                <a href="#udp_init" class="nav-sub-label">udp_init</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#udp_recv_fn" class="nav-sub-label">udp_recv_fn</a>
              </li>
      
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="lwip/opt.h"><span>lwip/opt.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/opt.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/opt.h"
</pre>

      <h4 id="lwip/pbuf.h"><span>lwip/pbuf.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/pbuf.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/pbuf.h"
</pre>

      <h4 id="lwip/netif.h"><span>lwip/netif.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/netif.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/netif.h"
</pre>

      <h4 id="lwip/ip_addr.h"><span>lwip/ip_addr.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/ip_addr.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/ip_addr.h"
</pre>

      <h4 id="lwip/ip.h"><span>lwip/ip.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/ip.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/ip.h"
</pre>

      <h4 id="lwip/ip6_addr.h"><span>lwip/ip6_addr.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/ip6_addr.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/ip6_addr.h"
</pre>

      <h4 id="lwip/prot/udp.h"><span>lwip/prot/udp.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/prot/udp.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/prot/udp.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="LWIP_HDR_UDP_H">Marco <span>LWIP_HDR_UDP_H</span></h4>
      <pre class="doc-declare"><code>#define LWIP_HDR_UDP_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="UDP_FLAGS_NOCHKSUM">Marco <span>UDP_FLAGS_NOCHKSUM</span></h4>
      <pre class="doc-declare"><code>#define UDP_FLAGS_NOCHKSUM      0x01U
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="UDP_FLAGS_UDPLITE">Marco <span>UDP_FLAGS_UDPLITE</span></h4>
      <pre class="doc-declare"><code>#define UDP_FLAGS_UDPLITE       0x02U
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="UDP_FLAGS_CONNECTED">Marco <span>UDP_FLAGS_CONNECTED</span></h4>
      <pre class="doc-declare"><code>#define UDP_FLAGS_CONNECTED     0x04U
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="UDP_FLAGS_MULTICAST_LOOP">Marco <span>UDP_FLAGS_MULTICAST_LOOP</span></h4>
      <pre class="doc-declare"><code>#define UDP_FLAGS_MULTICAST_LOOP 0x08U
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_flags(pcb)">Marco <span>udp_flags(pcb)</span></h4>
      <pre class="doc-declare"><code>#define         udp_flags(pcb) ((pcb)->flags)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_setflags(pcb, f)">Marco <span>udp_setflags(pcb, f)</span></h4>
      <pre class="doc-declare"><code>#define         udp_setflags(pcb, f) ((pcb)->flags = (f))
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_set_flags(pcb, set_flags)">Marco <span>udp_set_flags(pcb, set_flags)</span></h4>
      <pre class="doc-declare"><code>#define         udp_set_flags(pcb, set_flags)    do { (pcb)->flags = (u8_t)((pcb)->flags | (set_flags)); } while(0)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_clear_flags(pcb, clr_flags)">Marco <span>udp_clear_flags(pcb, clr_flags)</span></h4>
      <pre class="doc-declare"><code>#define         udp_clear_flags(pcb, clr_flags)  do { (pcb)->flags = (u8_t)((pcb)->flags & (u8_t)(~(clr_flags) & 255)); } while(0)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_is_flag_set(pcb, flag)">Marco <span>udp_is_flag_set(pcb, flag)</span></h4>
      <pre class="doc-declare"><code>#define         udp_is_flag_set(pcb, flag)       (((pcb)->flags & (flag)) != 0)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_new_ip6()">Marco <span>udp_new_ip6()</span></h4>
      <pre class="doc-declare"><code>#define udp_new_ip6() udp_new_ip_type(IPADDR_TYPE_V6)
</code></pre>
      <pre class="doc-comment">/* for compatibility with older implementation */</pre>

      <h4 id="udp_set_multicast_netif_addr(pcb, ip4addr)">Marco <span>udp_set_multicast_netif_addr(pcb, ip4addr)</span></h4>
      <pre class="doc-declare"><code>#define udp_set_multicast_netif_addr(pcb, ip4addr) ip4_addr_copy((pcb)->mcast_ip4, *(ip4addr))
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_get_multicast_netif_addr(pcb)">Marco <span>udp_get_multicast_netif_addr(pcb)</span></h4>
      <pre class="doc-declare"><code>#define udp_get_multicast_netif_addr(pcb)         (&(pcb)->mcast_ip4)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_set_multicast_netif_index(pcb, idx)">Marco <span>udp_set_multicast_netif_index(pcb, idx)</span></h4>
      <pre class="doc-declare"><code>#define udp_set_multicast_netif_index(pcb, idx)   ((pcb)->mcast_ifindex = (idx))
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_get_multicast_netif_index(pcb)">Marco <span>udp_get_multicast_netif_index(pcb)</span></h4>
      <pre class="doc-declare"><code>#define udp_get_multicast_netif_index(pcb)        ((pcb)->mcast_ifindex)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_set_multicast_ttl(pcb, value)">Marco <span>udp_set_multicast_ttl(pcb, value)</span></h4>
      <pre class="doc-declare"><code>#define udp_set_multicast_ttl(pcb, value)         ((pcb)->mcast_ttl = (value))
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_get_multicast_ttl(pcb)">Marco <span>udp_get_multicast_ttl(pcb)</span></h4>
      <pre class="doc-declare"><code>#define udp_get_multicast_ttl(pcb)                ((pcb)->mcast_ttl)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_debug_print">Marco <span>udp_debug_print</span></h4>
      <pre class="doc-declare"><code>#define udp_debug_print(udphdr)
</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="udp_bind_netif">Func <span>udp_bind_netif</span></h4>
      <pre class="doc-declare"><code>void            udp_bind_netif (struct udp_pcb *pcb, const struct netif* netif);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_disconnect">Func <span>udp_disconnect</span></h4>
      <pre class="doc-declare"><code>void            udp_disconnect (struct udp_pcb *pcb);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_sendto_if">Func <span>udp_sendto_if</span></h4>
      <pre class="doc-declare"><code>err_t           udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p,
                                const ip_addr_t *dst_ip, u16_t dst_port,
                                struct netif *netif);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_sendto_if_src">Func <span>udp_sendto_if_src</span></h4>
      <pre class="doc-declare"><code>err_t           udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p,
                                const ip_addr_t *dst_ip, u16_t dst_port,
                                struct netif *netif, const ip_addr_t *src_ip);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_sendto_if_chksum">Func <span>udp_sendto_if_chksum</span></h4>
      <pre class="doc-declare"><code>err_t           udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p,
                                const ip_addr_t *dst_ip, u16_t dst_port,
                                struct netif *netif, u8_t have_chksum,
                                u16_t chksum);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_sendto_chksum">Func <span>udp_sendto_chksum</span></h4>
      <pre class="doc-declare"><code>err_t           udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p,
                                const ip_addr_t *dst_ip, u16_t dst_port,
                                u8_t have_chksum, u16_t chksum);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_send_chksum">Func <span>udp_send_chksum</span></h4>
      <pre class="doc-declare"><code>err_t           udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p,
                                u8_t have_chksum, u16_t chksum);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_sendto_if_src_chksum">Func <span>udp_sendto_if_src_chksum</span></h4>
      <pre class="doc-declare"><code>err_t           udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p,
                                const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif,
                                u8_t have_chksum, u16_t chksum, const ip_addr_t *src_ip);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_debug_print">Func <span>udp_debug_print</span></h4>
      <pre class="doc-declare"><code>void udp_debug_print(struct udp_hdr *udphdr);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_netif_ip_addr_changed">Func <span>udp_netif_ip_addr_changed</span></h4>
      <pre class="doc-declare"><code>void udp_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="vars">Vars</h3>
      

      <h4 id="udp_pcb">Variable <span>udp_pcb</span></h4>
      <pre class="doc-declare"><code>struct udp_pcb;</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_pcb">Variable <span>udp_pcb</span></h4>
      <pre class="doc-declare"><code>struct udp_pcb * udp_new       (void);</code></pre>
      <pre class="doc-comment">/* The following functions is the application layer interface to the
   UDP code. */</pre>

      <h4 id="udp_pcb">Variable <span>udp_pcb</span></h4>
      <pre class="doc-declare"><code>struct udp_pcb * udp_new_ip_type(u8_t type);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_remove">Variable <span>udp_remove</span></h4>
      <pre class="doc-declare"><code>void            udp_remove    (struct udp_pcb *pcb);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_bind">Variable <span>udp_bind</span></h4>
      <pre class="doc-declare"><code>err_t           udp_bind      (struct udp_pcb *pcb, const ip_addr_t *ipaddr,
                                u16_t port);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_connect">Variable <span>udp_connect</span></h4>
      <pre class="doc-declare"><code>err_t           udp_connect   (struct udp_pcb *pcb, const ip_addr_t *ipaddr,
                                u16_t port);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_recv">Variable <span>udp_recv</span></h4>
      <pre class="doc-declare"><code>void            udp_recv      (struct udp_pcb *pcb, udp_recv_fn recv,
                                void *recv_arg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_sendto">Variable <span>udp_sendto</span></h4>
      <pre class="doc-declare"><code>err_t           udp_sendto    (struct udp_pcb *pcb, struct pbuf *p,
                                const ip_addr_t *dst_ip, u16_t dst_port);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_send">Variable <span>udp_send</span></h4>
      <pre class="doc-declare"><code>err_t           udp_send      (struct udp_pcb *pcb, struct pbuf *p);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="udp_input">Variable <span>udp_input</span></h4>
      <pre class="doc-declare"><code>void            udp_input     (struct pbuf *p, struct netif *inp);</code></pre>
      <pre class="doc-comment">/* The following functions are the lower layer interface to UDP. */</pre>

      <h4 id="udp_init">Variable <span>udp_init</span></h4>
      <pre class="doc-declare"><code>void            udp_init      (void);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      

      <h4 id="udp_recv_fn">Typedef <span>udp_recv_fn</span></h4>
      <pre class="doc-declare"><code>typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p,
   const ip_addr_t *addr, u16_t port);
</code></pre>
      <pre class="doc-comment">/** Function prototype for udp pcb receive callback functions
 * addr and port are in same byte order as in the pcb
 * The callback is responsible for freeing the pbuf
 * if it's not used any more.
 *
 * ATTENTION: Be aware that 'addr' might point into the pbuf 'p' so freeing this pbuf
 *            can make 'addr' invalid, too.
 *
 * @param arg user supplied argument (udp_pcb.recv_arg)
 * @param pcb the udp_pcb which received data
 * @param p the packet buffer that was received
 * @param addr the remote IP address from which the packet was received
 * @param port the remote port from which the packet was received
 */</pre>
    </div>
  </body>
</html>
            